package cn.snow.boot.annotation;

import cn.snow.boot.datasource.DbName;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author liuwanxiang
 * @version 2019/05/28
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface TargetDataSource {

    DbName value() default DbName.PRIMARY;

}
